package com.self.campussecondhandmarket.service;

import com.self.campussecondhandmarket.entity.domain.Orders;
import com.baomidou.mybatisplus.extension.service.IService;
import com.self.campussecondhandmarket.entity.request.orders.Cancel;
import com.self.campussecondhandmarket.entity.request.orders.CreateOrders;
import com.self.campussecondhandmarket.resp.Result;

/**
* @author 31465
* @description 针对表【tb_orders(订单表)】的数据库操作Service
* @createDate 2024-04-13 11:38:46
*/
public interface OrdersService extends IService<Orders> {
	
	Result<String> createOrders(CreateOrders dto);
	
	Result<String> cancel(Cancel dto);
	
	void changeStatus(Integer ordersId, Integer status);
}
